const char map[] = 
{0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,3,3,3,
3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,6,
6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,
8,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,11,11,12,13,13,14,
14,15,16,16,17,18,18,19,19,20,21,22,23,24,25,25,26,27,28,
29,30,31,32,33,34,35,36,37,38,40,41,43,44,45,46,48,49,50,
51,53,54,55,56,58,59,60,61,63,64,65,66,68,69,70,71,73,74,
75,76,78,79,80,81,83,84,85,86,88,89,90,91,93,94,95,96,98,
99,100,101,103,104,105,106,108,109,110,111,113,114,115,
116,118,119,120,121,123,124,125,126,128,129,130,131,133,
134,135,136,138,139,140,141,143,144,145,146,148,149,150,
151,153,154,155,156,158,159,160,161,163,164,165,166,168,
169,170,171,173,174,175,176,178,179,180,181,183,184,185,
186,188,189,190};

float RSSIAMETRO(char potencia){
  float dist = map[potencia]/10.0f;
  return dist;
}

